/**
* ...
* @author Default
* @version 0.1
*/

package org.hive.events {

	import flash.events.Event;
	import org.hive.state.State;
	
	public class StateManagerEvent extends Event
	{
		public static var ON_STATE_SWITCHED :String = "stateManagerStateSwitched";
		public var previousState:State;
		public var nextState:State;
		
		public function StateManagerEvent(type:String, p_previousState:State, p_nextState:State, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			previousState = p_previousState;
			nextState = p_nextState;
		}
		
	}
	
}
